package com.cloud.pole.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.cloud.pole.api.weixin.WxUserApi;
import com.cloud.pole.common.constant.ApiConstant;
import com.cloud.pole.common.msg.ApiRestResponse;


@FeignClient(value = ApiConstant.WEIXIN_SERVICE_ID)
public interface IWxUserService {
	
  @RequestMapping(value=ApiConstant.WEIXIN_SERVICE_WXUSER_GETWXUSER, method = RequestMethod.GET)
  public ApiRestResponse<WxUserApi> getWxUser(
		  @RequestParam(name="openId", defaultValue = "") String openId);
}
